Charles Peirce and scholastic realism : a study of Peirce's relation to John Duns Scotus