I'd suggest extracting the `if` outside the concat and binding its result to some `let` var like `buffer-name-prefix` to make this a bit more readable.