Add a method to get object IDs for a particular table