code: def name(self):
          
          if hasattr(self._element, "name"):
              return self._element.name
          else:
              return str(self._element)
docs: Similar to :attr:`complete`, but return the whole word, for
          example::
  
              subrout
  
          would return `subroutine`.