Semiotics as a social science