docs: def _uri_to_etext(cls, uri_ref):
          """Converts the representation used to identify a text in the
          meta-data RDF graph to a human-friendly integer text identifier.
  
          """
          try:
              return validate_etextno(int(os.path.basename(uri_ref.toPython())))
          except InvalidEtextIdException:
              return None