How reliable are Filters menu commands?

Negative IDs are not guaranteed to be persistent between Ps versions – and not even between users. I’d use the menu text instead (although you will have to worry about localization, since that text can changes w/ locals)