The role of halogens in on-surface Ullmann polymerization.