I recommend you don't change that in Web.config. Changing that setting in Web.config has widespread implications, it affects all features and will likely result in unexpected behavior and errors. I recommend use CSS classes and class selectors instead of id selectors.
Hope that helps,
Joe