allow ids beginning with underscore / dash closes #260

regex enhancement