Implement trivial paste re-use

Use a buffer local variable to save the paste ID after pasting so that future refheap-baset-buffer* calls on the same buffer will re-use the original paste.