depends upon what you need. The id attribute is not required for PHP, nor HTML. So it's up to you. If you use it, that's fine. Just remember the "id" attribute has to be unique throughout the entire DOM, otherwise it won't validate (and might have adverse effects on javascript running on that page).
So if you want, yes, you can drop the id attribute, or you can leave it in. As I said, it's not required.