move location where we set prompt.algorithm

Instead of putting assigning it in choose_prompt(), set it in each individual
algorithm's method. IOW, it's the algorithm's responsibility to tell us their
name.

[#67580252]