Returns the logic piece by the specified ID.
1 string id
the logic piece ID.
1 logicPiece
the logic piece instance.