Connectors use IDs instead of LocalIndices.

Fixes #5.