ipdb: name resolving order

Firstly, try to retrieve an attribute from the parent class. Upon exception,
return a key from self.
ipdb: by_name and by_index interface resolvers