[NUCCORE-1113] Replace old subclass method with new implementation that
caches data when a class metadata is initialised. Add new cache of
concrete subclasses for class, for future use in id lookups