Standards.BSON.ObjectId: encode/decode either hex string representation (24
character length) or packed char representation (12 character length).