Useful functions for dealing with object names