m_identity: ensure that non-unique identities have is_unique set to 'undefined' (instead of false)