On the philosophical foundations of psychological measurement