Text this: Functions of the state in light of the purpose of sharee'ah