Print debug/version level instead of __anonymous in error messages.

When integer debug/version levels are used, ident is not defined,
causing Dsymbol::toChars() to print "__anonymous", which is unhelpful.
Instead, it should return the debug/version level being set as an
integer.