UUIDs are usually 36 characters.
Because UDID ≠ UUID. The iPhone Unique Device Identifier (UDID) is a hash of several different hardware identifiers pulled from the chips on the phone. It's not a software-generated identifier for a software object.
It's 160 bits, not 128 bits, so it takes 40 hex characters to represent, not 32 + 4 hyphens.