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