The UID key (device's unique ID key) is an AES 256-bit hardware key, unique to each iPhone. It's fused into the application processor during manufacturing. It was previously used to encrypt things in the NOR. In later iOS versions, it is used to encrypt the entire file system, so that the flash chips cannot moved to another device and read out there again.
Apple says about this key:
"The UID is unique to each device and is not recorded by Apple or any of its suppliers."
"The UID is not related to any other identifier on the device."
See also: GID Key.