'Allegri to credit for El Shaarawy rise'