You can store the names in entity.string1 or string2. If you want to find an entity by its name, you can go through the linked list and check if it's string1/2 is the name you are searching for.

Instead of using string1 or string2 you can also create strings and store their pointers in entity skills. But don't forget to destroy them when you remove the entity.