We don't have the details about how this evolved, I mean, it's very hard to infer the mind just based on written texts, but we know that much more recently, in the beginning of the 20th century this field of neuroscience began to coalesce and what was neuroscience back a 100 or so years ago? 