Is it possible for 'localUid' to be empty here also?  Should localUidComparesPhoneNumber() return true for empty UID?