Change from using sequence names to cap names

Caf phase still fails but finds the pinch threads this time.
Also, filtering by identity is fixed.