Fixed: sanitization of class names
Fixed: html ids are sanitized
Added: finding duplicate HTML ids
Fixed: typo.