Make each head pipe have a unique name

This should solve the problem of merging flowDefs, which is something needed for Execution to work correctly in all cases.