During the local and European elections earlier this year, Sinn Féin canvassers in some of its heartlands area in Dublin were confronted with hostility on doorsteps. The flashpoint was immigration.