Node ID in plugin

Is it possible to get Node ID inside a plugin?
Want a way of uniquely identifying the current node when i load the patch

yep, check GetNodePath:
Returns a slash-separated path of Node IDs that uniquely identifies this node in the vvvv graph.