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

@tim-bezhashvyly can we stick with camel case for variable names?