checking for valid nsq topic and channel names (target and purpose)