Change function name for generateStoreKey to storeKey

Jira Issue: WP-888