When one has
\startbuffer
\stopbuffer

or
\startbuffer[abc]
\stopbuffer

Is it possible to find in a redefined \stopbuffer the identity of the buffer in question?
For example to do \def\stopbuffer{\doif{BUFFERIDENTITY}{abc} …}

Hans van der Meer