Identification in general triangular systems