Add tm.mapid() for generating mapids.