New algorithms for identifying the flavour of B͍⁰ mesons using pions and protons