add functions to create 9x id string and get id from this string