Do port IDs change for the same device in Libre?

I am almost certain that I was looking at a specific interface on a switch and the port ID was 1974, then I went back (a day later) to check another setting and noticed that the port ID was 2010. I wrote down 1974 the day before so I was either in the wrong switch (possible, I guess) or the port ID changed.

I don’t know how to look up a port ID, is there a way to list all the port IDs and which device they are tied to?

Obviously this is a bit concerning (if they change) because if I’m monitoring a port via port ID and it changes, I may not get an alert for that port being down.

Thanks.