add usable ids to each element