Thanks for clarifying. How about "Given the step and the form for the step, returns a form prefix to use."  Does that lose any of the meaning you were trying to add?