@kornel I got to watch a hell of an Atlas-lift at Google years back.
Google used 16 bits as the unique identifier code for fields in protobuffer.
It turns out they have one titanic proto that represents the sparse-formatted data in their central log infrastructure---you can log anything you want there, as long as it matches to a field in that proto.
... I can't remember right now if the issue was that they found more than 65,000 things to log or that they'd actually made the field ID signed in the proto interpreter code and they found more than 32,000 things to log...