Adds id to the slides so we can serialize