docstr: Name of variable/function/class/module.
  
  For example, for ``x = None`` it returns ``'x'``.
  
  :rtype: str or None
docstr_tok: ["Name","of","variable\/function\/class\/module",".","For","example",",","for","``","x","=","None","``","it","returns","``","'","x","'","``",".",":","rtype",":","str","or","None"]
code: def name(self):
      """
      Name of variable/function/class/module.
  
      For example, for ``x = None`` it returns ``'x'``.
  
      :rtype: str or None
      """
      return self._name.string_name
  
imports: import re
  from parso.python.tree import search_ancestor
  from jedi import settings
  from jedi.evaluate.utils import ignored, unite
  from jedi.cache import memoize_method
  from jedi.evaluate import imports
  from jedi.evaluate import compiled
  from jedi.evaluate.imports import ImportName
  from jedi.evaluate.context import instance
  from jedi.evaluate.context import ClassContext, FunctionExecutionContext
  from jedi.api.keywords import KeywordName
label_desc: Use image node_id 2 for calling the BaseDefinition obj's underlying member method code with example usage: obj.name() and returns: self