Encoding for Id Number