Staircase Network: structural language identification via hierarchical attentive units