print node ids