Updating UUID functions to account for device ID behavior changes in iOS 7

Updating UUID functions to account for device ID behavior changes in iOS 7.