the metadata drivers (i.e. xml driver) should read the "name" for a type from the metadata, instead of determining it from the class. this means that for every request, we will need to know the full list of mapped data - meaning we should start to cache compiled metadata for performance reason.
see AbstractRdfDriver::objectToName