Adding an id generator to the domain class so that people who have an app-wide id generator don't break the plugin