The Frattini argument for Lie algebras