Fixed DetectIdentifier to match current kate behavior.

It now allows underscores.

This fixes a bug with prolog involving identifiers with underscores
(and probably bugs in other languages as well).