Influence of John Locke's idea of natural rights