Text this: Revealing polytypism in 2D boron nitride with UV photoluminescence