Anfonwch hwn fel neges destun: A new algorithm for identifying the flavour of B0s mesons at LHCb