Identities among certain triangular matrices