Rigidity among prime-knot complements