Accept slashes in names, with exceptions.

The closes issue #29.