typeMapper
Parameters
typeMapper
A function which accepts an instance of the common type T and returns the string identifier for the type. This identifier is written/read from the attribute identified by typeAttribute and used as a lookup key in subConverters.