Remove identity

Remove Identity type from the project.

This is currently sitting on top of #5210.
This only consists of commit 9c8a2dc.