I agree with everyone so far, since there is no built-in CSS namespace and that if you have control (or desire / capacity) to edit your HTML, then this is the best approach.
One way to automate the process would be to write a script (PERL, PHP, .NET, etc.) to parse the HTML code you are pulling in and replace any existing ID or classes with a modified version.
i.e. <tag id="theID" class="theClass anotherClass">becomes<tag id="NAMESPACEtheID" class="NAMESPACEtheClass NAMESPACEanotherClass">
You can accomplish this with some creative regular expressions, although it would be harder if there was Javascript code that also needed to be changed.
, , , , .
, , !