added getIDMap()