Analysts say Republicans are shifting the election from a referendum on Donald Trump to a contest of ideologies by portraying Democrats as far left.