Horizon theme data-media-id attributes are missing in media-gallery

I had a chance to start playing with new themes, and I noticed that data-media-id attributes, which were previously present in all Shopify themes, are missing on the slides. This attribute is very helpful when we need to programmatically manipulate images (hide/show), and many apps rely on these parameters. With the current code, we will need to process file names, which won’t be good for performance, and more error-prone media IDs would be super helpful with all media elements on the page.