An Evolutionary Model of the Emergence of Meanings