This isn't just used for entities. It's also used for loading `Enricher` and `Policy` classes - e.g. see `BrooklynComponentTemplateResolver.resolveEnricherSpecs`. We should change the exception messages accordingly, rename the method to `resolveClass`, and rename the class to `BrooklynClassResolver`.