cypher: Adds "|" syntax to label matching and refactors label parsing