function node_function(node)
	-- Test both variants of the Id function
	local id_method = node:id()
	local id_global = Id()
	
	-- Both should return the same value
	if id_method == id_global then
		-- Add to layer if both methods work
		Layer("test_id")
		Attribute("node_id", tostring(id_method))
	end
end
