Check for duplicate id values in a html page
From http://webmasters.stackexchange.com/questions/16901/check-for-duplicate-id-values-in-a-html-page