names function

Utility functions finding names and types of objects