Added clear() method to nattributehandler. Resolves #542.
Fixed some lingering uses of sessid as a non-handler.