Do port IDs change for the same device in Libre?

Right now, my alerts are configured at the device level and for the specific port. I’m only monitoring specific uplink ports.

How can I create an alert or how should I create an alert to avoid using the port ID and use something that will never change/that I have more control over?

The thread I’m linking is how I’m currently creating a ‘port down’ alert.

Then as I was reading about port IDs (which is what I’m currently using) I noticed that they can possibly change.

Thanks.