Er luminescence in Si: a critical balance between optical activity and pumping efficiency