Law in pre-state social systems