moved Id2Dir from Tag to Utils (more appropriate)