Patterns of Life: Intertwining Identity and Cognition