Fixed a compiler warning of deprecated uniqueIdentifier

Fixed a compiler warning of the deprecated call to uniqueIdentifier in iOS 6. It only switches off the diagnostics for this one line of code so isn't harmful for the rest of the project.