code: def _field_name_from_uri(self, uri):
          
          # TODO - should use graph API
          uri = str(uri)
          parts = uri.split('#')
          if len(parts) == 1:
              return uri.split('/')[-1] or uri
          return parts[-1]
docs: helper, returns the name of an attribute (without namespace prefix)