Update IdConverter.scala

A Set is used to calculate the symbols of the alphabet.