London has to call a referendum on Irish unity if it appears likely that most Northern Irish voters would back it.