When an offense involves the commission of, or an attempt to commit, a theft or other 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, or the ownership of the property taken, is not material.
SDCL 23A-6-15