Here is a good topic to review that covers the issue.
It certainly would be possible to run a script on your local files that used a map to replace the ID in HTML and CSS, for better usability. You would have to maintain your map as new elements were added.