factor out CircuitPresenter::Pin and #wirings_pin_for