[NUCRDBMS-757] Add check in getClassNameForObjectID so that if only 1
concrete class matching the id then return it