Uncovering the roots of human social organisation