Idents function

Extract or set default identities from object