Gittrac #4102:  Improved illegal variable name checks.