(a) “Apprehension” is the taking of a person into custody.
(b) Any person authorized by this code or by rules issued pursuant thereto to apprehend persons subject to this code, any marshal of a court-martial appointed pursuant to the provisions of this code, and any peace officer authorized to do so by law may do so upon reasonable belief that an offense has been committed and that the person apprehended committed it.
(c) Commissioned officers, warrant officers, and noncommissioned officers have authority to quell quarrels, frays, and disorders among persons subject to this code and to apprehend persons subject to this code who take part therein.