Added id field in order to support multiple jail instances

I ran into problems using jail with asynchronously loaded content. I didn't see an easy way to add images to stack. It was easy to create separate jail instances, but required an update to the event namespace in order that multiple instances wouldn't interfere with each other when unbinding events. It might be preferable to add a way to easily add images to a single jail instance.