Allow underscore in search fields, more
#1187 made some changes to which fields are considered valid in Admin. Unfortunately we missed some characters. As of now I've identified the underscore as missing, which leads to this:

I was about to settle on this description of SQL standard:
SQL identifiers and key words must begin with a letter (a-z, but also letters with diacritical marks and non-Latin letters) or an underscore (_). Subsequent characters in an identifier or key word can be letters, underscores, digits (0-9), or dollar signs ($).
But then I tried in our PostgreSQL and see what was possible:

So in order to ensure compatibility with existing configurations, we should allow more than what I'd expect. Especially since PostgreSQL allows more anyway, so there's a risk folks are using it.
Let's expand our current check to also allow _ and . (dot only in the middle of name - however strange it looks, it seems to be allowed as you can see above).