vf_blend: Templatize identity function and use a better name