adds a "bookmark" to the last element on stack, so later on, relative to current peek index, bookmark index can be read.
bookmark id, or -1 if stack empty
See Implementation
adds a "bookmark" to the last element on stack, so later on, relative to current peek index, bookmark index can be read.