Node deleting instanced node from prefab deletes all instances

I have this code in a script attached to a prefab that is instanced in my game and I want it to delete itself
delete:function(){
if(globals.DELETE) this.node.destroy()
}

but this deletes every single instanced node of that prefab, how do you delete only the instance which called the delete function?

Thanks