Identification of Distributed Systems with Logical Interaction Structure