substitute long name with number and generate a id_index file
regin the long name use id_index file