allow more characters for arguments with a base

This commit changes the regex for named parameters/arguments to fix
hyphens (```-```) and additionally allow for dots (`.`) and square brackets
(```[]```) to be used as names. This should allow validation arguments
like ```contact[street_set]``` to be used in error messages.