Use a consistent storeName lookup method

Extract this and use it everywhere we need to get the storeName.
Provide an interface to access dirty models and locally destroyed model ids

Closes #59
Release version 1.2.0