Fixes #8. persistent identity implemented.