Text this: Socioecological complexity in primate groups and its cognitive correlates