A new approach to the phase behavior of oppositely charged polymers and surfactants