The effect of polymer geometry on polymer–surfactant association in solution