Analytic linearization of PDE's through Lie symmetries