code: def _find_names(module_context, tree_name):
      context = module_context.create_context(tree_name)
      name = TreeNameDefinition(context, tree_name)
      found_names = set(name.goto())
      found_names.add(name)
      return _dictionarize(_resolve_names(found_names))
  
imports: from jedi.evaluate import imports
  from jedi.evaluate.filters import TreeNameDefinition
  from jedi.evaluate.context import ModuleContext
label_desc: Use image node_id 3 for calling a global function with example usage: _find_names(module_context, tree_name) and returns: _dictionarize