Every system that exists, be it built into the browser or a plugin, that allows you to change the style of visited pages already has a way to discriminate websites.

Why would you want to add an id to the body?

Even if you were using a bookmarklet (the lowest tech I can think right that would allow you to change a website's layout) can check the current address (javascript:alert(location.host);return false;).