Generalised matter parities from the superstring