Dynamically switch between 16-bit and 32-bit values for module name id
encoding based on need (i.e. use 32-bit encoding when module id values
in the request exceed 64K).