Text this: A theoretical analysis of the essence and rationale of legal devices in Islamic law