fixed parsing identifiers

it was parsing only names from letters and digits, for example data-attribute caused problems