Define DOM W3C NamedNodeMap internal __getattr__ method