def _format_id(self, payload):
if '<STR_LIT:id>' in payload:<EOL><INDENT>return str(payload['<STR_LIT:id>'])<EOL><DEDENT>if '<STR_LIT>' in payload:<EOL><INDENT>return '<STR_LIT:U+0020>'.join([six.text_type(item['<STR_LIT:id>']) for item in payload['<STR_LIT>']])<EOL><DEDENT>raise MultipleRelatedError('<STR_LIT>')<EOL>
Echos only the id