No writ of habeas corpus shall be disobeyed for defect of form, if it sufficiently appears therefrom who has custody of, or who restrains the party imprisoned or restrained, the officer or person detaining him, and the court or judge before whom he is to be brought.
A.R.S. § 13-4138