Move client identity struct to its own package.
Should have been in last commit.