What to do with IDs when a taxon is no longer accepted?

Ralf, you reminded me of this quote by @matthew_connors: