i18n compatability for the tags autocomplete

Keycodes are unreliable for i18n keyboards (keys are physically rearranged). For instance, on a Hebrew keyboard, a normal alphabet letter is in place of comma.

Therefore I added use of key identifiers - which refer to the unique character, rather than a physical key.