In the case of phone numbers, localUid is going to be empty.

Is QContactTpMetadata meant to be used for SMS? I'd assume not.