different way of retrieving name of object as some objects may come from the internal catalog