When the crime involves the commission of, or an attempt to commit a private injury, and is described with sufficient certainty in other respects to identify the act, an erroneous allegation as to the person injured or intended to be injured is not material.