Section 30. In wards or towns where voting is by precincts at elections but by wards or towns at primaries, the city or town clerk shall designate which of the election officers shall serve as primary officers.