Get a node identifier!

Hi,

i got the message that the ID(x) function is deprecated ,...

is there any new function that delivery me an identifier for an node. Or do i need to create now my own ?

ID(x) is replaced by ELEMENTID(x). The difference is that ID(x) returns an int while ELEMENTID(x) returns a string. The reason is that ID(x) is only unique within a database, but not necessarily in composite databases, while ELEMENTID(x) is universally unique.