Ian,
When I started cleaning carpets, because the 'industry' did not exist, there was little that was available, so self-formulation/adaptation was the norm.
Whilst there are still some problem solvers that I knock up from raw materials, as a generality there are so many pre-formulated products available, formulated by far better chemists than I, that it makes little sense to do-it-yourself.