core / makeup-next-id

Assigns a unique, sequential ID to an element if it does not already have one.


Append element with generated ID

Each new item receives the next available ID for the given prefix.