Ideology and national identity in post-communist foreign policies