New compare method for UDID