```ruby
module RbPlusPlus
  class NodeCache #:nodoc:
    # Retrieves or initializes a node's information cache
    def self.get(node)
      demangled = node.attributes['demangled']
      @@nodes ||= {}
      @@nodes[demangled] ||= {}
    end
    
    # Clears out the cache
    def self.clear
      @@nodes = {}
    end
  end
end
```

Use the id of the node, nto the name. Variables can have the same name and will clobber each other's node settings
user
```ruby
module RbPlusPlus
  class NodeCache #:nodoc:
    # Retrieves or initializes a node's information cache
    def self.get(node)
      demangled = node.attributes['id']
      @@nodes ||= {}
      @@nodes[demangled] ||= {}
    end
    
    # Clears out the cache
    def self.clear
      @@nodes = {}
    end
  end
end
```
assistant