Changed the way cloud ids are generated because it was terribly inefficient