Refactored out common buffer-name code into nrepl-buffer-name