This creates and logs a unique identifier and saves it to a file. The ID will be logged for statistical purposes and stay the same until recreated.