Allow a colon in tags

Fixes issue #313.