Nonbinary identities