When writing the trigger of an advanced alert I know there are at least two ways to do the node qualificaiton:
Trigger alert when all of the following apply
Node Name is equal to hostname.example.com
...
...
Trigger alert when all of the following apply
Node ID is equal to 1550
...
...
While the first form is more readable, I'm concerned when (not IF) the node caption gets edited, the alert will stop working. The second form using the NodeID seems more solid to me but requires me to know that NodeID 1550 = hostname.example.com
How have other people dealt with this problem?