adds unique ids to findtargets output.