Getting the UDID+installID and then saving that into a file/preference would work, or installID and username.
Getting the UDID+installID and then saving that into a file/preference would work, or installID and username.