add unique id to episodes when syncing

In hope to add dvd ordering support to episode syncing.
I have no proper way of testing this, but it didnt seem to break the existing functionality.