Escapes % in names.

If you searched for a name with a % pattern matcher in the name it would throw an error.