Rename dynamic string to icon pattern