[NUCCORE-1113] Add lookup of concrete classes for an id and
short-circuit lookup if only 1 concrete class