Other Minds
we can make contact with cephalopods as sentient beings, it is not because of a shared history, not because of kinship, but because evolution built minds twice over.
An example is quorum sensing. If a chemical is both produced and sensed by a particular kind of bacterium, it can be used by those bacteria to assess how many individuals of the same kind are around.