ISIL-inspired terror looms large amid political transformation in the country that gave birth to the Arab Spring, writes Eileen Byrne