Allow overriding getShortName() for discriminator map

This will allow the keys for entries in a generated discriminator map to be customised. E.g. to include namespace

For example, if I had more than one entity with the same name, but used for different purposes, I could customise `getShortName` to include the namespace (or indeed just return the class name with no modifications), which would allow them both to work.