I like the direction we're going in, but this approach is probably too expensive.
This calls `tp nonPrivateMember sym.name` twice (once in `canSpecializeRefinement`, once in `specializesSym`).