test: simplify numeric literal cfail tests
syntax: use a better Show impl for Ident

Rather than just dumping the id in the interner, which is useless, actually
print the interned string. Adjust the lexer logging to use Show instead of
Poly.
codemap: be less annoying in debug logging
lexer: shuffle around some functions