Add support for id with CSS syntax characters

Tagsinput fails when it encounters an id which uses CSS syntax character(s), such as a dot. This commit fixes the issue.