added id_sets to account for identity assignments