[neo4j] support for dynamic labels based on a closure