give each condition a randomly generated unique id