Generating IDs for Three.JS