Add 0-suffixed fields to GetIdentity.

The function is also used in GetIdentitiesByScore. Addresses bug #5729.