A "complaint" is an allegation made before a proper judge or magistrate that a person has been guilty of a designated public offense.