Test identifiers conformity

Make sure the basic identifiers (that is the table name and the equality field name) are valid identifiers in terms of string length and character set.
Looks like this can be factored out into a dedicated assert method. Then you don't need to duplicate it.