Sets a pipeline_id on a definition which passes through to the template