The Natural History of Intentionality. A Biosemiotic Approach