Extract transaction related methods from identity.wallet to the new identity.tx module.