Adds a static switch pin to this function call node by variable id and sets it's default value using the supplied data and marks it as orphaned. This allows a previously available static switch value to be retained on the node even if the the switch is no longer exposed.