Text this: Precedents and the role of analogy in Common Law and Islamic Law