assertIdentifier function
Throws InvalidIdentifierException unless name is a plain, optionally
dot-qualified identifier. This is the single gate through which every
table and column name passes before reaching SQL.
Implementation
String assertIdentifier(String name) {
if (!_identifier.hasMatch(name)) throw InvalidIdentifierException(name);
return name;
}