Use esutils to implement common.isIdentifier
Remove unused (and implemented in esutils) functions