added setIdentity to T-API