[wip] Update Identity v2

This is a consistency pass, by which I mean "rewrite", of the v2 Identity service.

Fixes #214