A primary election, within the meaning of this chapter, is an election held by the qualified voters, who are members of any political party, for the purpose of nominating a candidate or candidates for public or party office.