The US presidential campaign has seen some vitriol expressed toward refugees and Muslims. This rhetoric is somewhat reminiscent of past American attitudes