Assigns a random id number for each prism and uses that instead.