Modeling Dynamic Ideological Behavior in Political Networks