On substitution principles in ideal magneto-gas-dynamics by means of Lie group analysis