Is there anything wrong with having a css class and id with the same name? Like .footer for the article/post\'s footer and #footer for the page footer.
The only problem with having same name for class and id is code readability and maintainability. They can have the same names, the browser will render the correct CSS as classes and ids are marked differently (. for class and # for id), but an upgrade or bug fix can be a problem for the developer.