Support non-english characters in items values

Currently if select items have their values other than english, their ids becomes all the same: "_-selection" (following line 140). It is resonable to use string hash instead of regexp.