Each line in the OpenRefine project has an index - a serial number starting from zero (the first line in the project).
You can access this using 'rowIndex'.
Combine this with a value (I assume that “value” is a string) to create the string identifier that I suggest:
, , , " " → " "
(, Row ID), "" :
rowIndex+value
"",