While learning about semaphores, and specifically System V semaphores, I went onto reading about the System V IPC key, but couldn't understand the need for such identifier.
Taking it back to semaphores, if the purpose of the key identifier is:
"To make it easier for different processes to get the identifier from an object they need to share (Advanced UNIX Programming, 2nd ed, pg 429)"
why can't we just use the semaphore id as an identifier that may be used by different processes?
P.S. This answer talks about close subjects, but don't refer specifically to the alleged-possibility to use the object id as an identifier (instead of a key).