On logic, methodology and practice of applied sociology