Text this: Ideology as an instrument of foreign policy