On the iPhone, a unique identifier is available which is guaranteed to be unique and is tied to the serial number. This is the one:
[[UIDevice currentDevice] uniqueIdentifier]
According to the documentation, there are restrictions on using it:
"It is guaranteed to be unique for every device but cannot publically be tied to a user account. You can use it, for example, to store high scores for a game in a central server or to control access to registered products"
Cannot publically be tied to a user account? Does this mean that you cannot link the UID to a user name/login on a backend server?