It is extremely difficult to say for certain when the laws were made, and by whom, not to mention how they might actually have been used. But it seems likely that they had their roots in basic principles of social organization which the Israelites thought were important: ideas of equivalence and just compensation. These were defining principles for tribal people, whose livelihoods and social structures were constantly in flux, but who held a common vision of justice.