allow ids beginning with underscore / dash

regex enhancement
Merge pull request #261 from fyyyyy/master

allow ids beginning with underscore / dash closes #260