Fix for multiple elements with the same ID

Fixes issue that arises when two elements with the same ID on a page both have Chosen initialised on them, by adding a count to the ID for each chosen container element.