Replace hardcoded store ID = 1 with either input argument or detected default store ID.

@tim-bezhashvyly how about we pop this into a $this->_getStoreId() method just to tidy it up a bit?