12. Inquiry to be made regarding the age of the offender before the passing of an order of detention.