JDBC providers should have an option to escape data
The various JDBC providers (Groups, Users, etc) produce database-based identifiers for groups.
These can include characters that are prohibited in certain contexts, such as whitespace in JID nodes.
To alleviate issues caused by this, the providers should get an option to escape characters that would otherwise be illegal to use.
The most obvious method to re-use for this purpose is org.xmpp.packet.JID#escapeNode