Add Node script to generate the identifier regexes

The script was taken from https://gist.github.com/mathiasbynens/6334847
and then modified to match the needs of this project.