Ideology in Armed Conflict: Dynamics and Impacts