Moved Identity code to Portable Class Library