Prevent multiple devices of the same name from duplicating their UID in the device preference list