Dynamically set data-slide-id attribute of slides