lex.go: Rename ElementType to Type
lex.go: Add Id to lex.item
lex_test.go: Refactor equal()