@property<EOL><INDENT>def ids(self):<DEDENT>
ids = []<EOL>try:<EOL><INDENT>ids.append(self.election_group_id)<EOL><DEDENT>except ValueError:<EOL><INDENT>pass<EOL><DEDENT>if isinstance(self.spec.subtypes, tuple):<EOL><INDENT>try:<EOL><INDENT>ids.append(self.subtype_group_id)<EOL><DEDENT>except ValueError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>if self.spec.can_have_orgs:<EOL><INDENT>try:<EOL><INDENT>ids.append(self.organisation_group_id)<EOL><DEDENT>except ValueError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>try:<EOL><INDENT>if self.ballot_id not in ids:<EOL><INDENT>ids.append(self.ballot_id)<EOL><DEDENT><DEDENT>except ValueError:<EOL><INDENT>pass<EOL><DEDENT>return ids<EOL>
list[str]: All applicable IDs