When creating a new key, I kept getting a confusing "Invalid character in name"
all the time, and was unable to figure out which one it was complaining about.
After checking the source code (and fixing my problem), I think it'd have been
much clearer if it had told me *which* is the invalid character (in my case, it
was complaining about '<').
So here's a patch to do just that.