normalize phrase reference names