TL;DR
It should be possible to set a circuit condition involving the fluid the pump is allowed to pump.What ?
When setting the circuit condition for a pump 2 special signals are available: "Everything" and "Anything". My suggestion is to add a third option "self".The "self" signal would match whatever liquid the pump is set to by the anti-fluid-mixing logic.
Note: If no filter is set the "self" signal should behave like "Everything" but filtered for fluids. Maybe "fluid" is a better name for the special signal.
Why ?
Playing with mods like Angels and Bobs there are a lot of different fluids and transporting them by train becomes much more common than in vanilla. But as soon as one has fluid stations with more than one fluid wagon the issue of balancing the buffer tanks arises. To balance the tanks one has to place pumps and circuit control them using for example "oxygen < 100". All the pumps in every train station will have the same circuit condition but for each station the fluid needs to be set to match the one being transported. When using LTN the pumps loading the fluids may need to be controlled as well, especially on stations handling multiple fluids. Again the circuit condition for each pump is the same, for example "oxygen != 0" except the fluid always changes. This becomes tedious and it is easy to skip a pump when re-programing them for a new station.In 0.17 factorio added the anti-fluid-mixing system. So now the pumps have a filtered fluid box set so they never mix fluids. This allows some new train station designs like this:
For steam only the bottom pumps engage and for water only the top pumps because the pumps won't accept the wrong fluid.
If the pumps had a "self" signal that would match whatever the fluid filter is set to then fluid train stations could be programmed to "self < 100" or "self != 0" and automatically adjust to whatever fluid is being transported. There would be no need to reprogram every pump after blueprinting a new fluid station and accidentally skipping a pump would not be a risk.