def _field_name_from_uri(self, uri):
<EOL>uri = str(uri)<EOL>parts = uri.split('<STR_LIT:#>')<EOL>if len(parts) == <NUM_LIT:1>:<EOL><INDENT>return uri.split('<STR_LIT:/>')[-<NUM_LIT:1>] or uri<EOL><DEDENT>return parts[-<NUM_LIT:1>]<EOL>
helper, returns the name of an attribute (without namespace prefix)