def _get_serialization_name(element_name):
known = _KNOWN_SERIALIZATION_XFORMS.get(element_name)<EOL>if known is not None:<EOL><INDENT>return known<EOL><DEDENT>if element_name.startswith('<STR_LIT>'):<EOL><INDENT>return element_name.replace('<STR_LIT:_>', '<STR_LIT:->')<EOL><DEDENT>if element_name.endswith('<STR_LIT>'):<EOL><INDENT>element_name = element_name.replace('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>for name in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>if element_name.startswith(name):<EOL><INDENT>element_name = element_name.replace('<STR_LIT:_>', '<STR_LIT>')<EOL><DEDENT><DEDENT>return '<STR_LIT>'.join(name.capitalize() for name in element_name.split('<STR_LIT:_>'))<EOL>
converts a Python name into a serializable name