Al-Farabi and the problems of psychology