safe and unsafe methods escape/unescape the hash symbol