Pluralize ids don't always work

The pluralization of the ids did not work on subsequent calls. Now we
reset lastIndex of the Regexp-object on each call.

Full explanation:

http://stackoverflow.com/questions/4724701/regexp-exec-returns-null-sporadically