Philosophical foundations of the three sociologies