Fix the lexer for long identifiers

The fix is similar to the module_read that was there before.  I don't
see how to make it any simpler than it is now.