First try at having support for an identities database.
Some info about how to install databases for testing.