Fixed a bug where validator names cause parse errors if they don't meet PHP label requirements, closes #582
merge fdeb7229f237de7109479e1b09d1857d0a5823ca, refs #582