switch identities when changing primary alias for active identity
new PB.createIdentity function for creating new identities