The market ID is derived from the encoded parameters:
Market creation
Anyone can callcreateMarket, but the chosen IRM and LLTV must first be enabled in the core. Permissionless creation means a market’s existence is not an endorsement of its tokens, oracle, liquidity, or parameters.