My bad, sorry. There seems no simple function to change CSNode to id.