In pleading an official document or official act it is sufficient to aver that the document was issued or the act done in compliance with law. In pleading any public or private statute of the state of Idaho or of the United States, or any ordinance of a city or village of the state of Idaho, it is sufficient to refer to such statute or ordinance by the appropriate designation in the official or the recognized compilation thereof.