Text this: Layer-recurrent network in identifying a nonlinear system