AFAIK - Classifications, like every other property in Archicad use a guid as a identifier, which is fixed for its lifetime, so changing the id or name should not have any effect. The dialog boxes should pick up the change and maintain the connections.
I understand this was not true for earlier versions. The change was made in different years for different attributes, but if you are using 24, you should be OK?
As long as you DO NOT delete the classification and re create. Then it would assign a new guid
Gerry
Windows 11 - Visual Studio 2022; ArchiCAD 27