Make $id argument optional for Candidate constructor.