code: def NAME(self, node):
          
          # Locate the name in locals / function / globals scopes.
          if isinstance(node.ctx, (ast.Load, ast.AugLoad)):
              self.handleNodeLoad(node)
              if (node.id == 'locals' and isinstance(self.scope, FunctionScope) and
                      isinstance(node.parent, ast.Call)):
                  # we are doing locals() call in current scope
                  self.scope.usesLocals = True
          elif isinstance(node.ctx, (ast.Store, ast.AugStore, ast.Param)):
              self.handleNodeStore(node)
          elif isinstance(node.ctx, ast.Del):
              self.handleNodeDelete(node)
          else:
              # Unknown context
              raise RuntimeError("Got impossible expression context: %r" % (node.ctx,))
docs: Handle occurrence of Name (which can be a load/store/delete access.)