_is_on_symbol: Also allow underscores in symbol names.

Underscores are very valid parts of identifier names, and the old
code did not recognize them.

Fixes #111