getId function

Gets the store's ID