I wanted to avoid the used of custom properties.
I think I will change this to have a sequence_name and sequence_value though, since that way I can add a unique constraint on the sequence_name and use some parameters on the query.

Cypher does not allow the use of parameters for label though, so I don't think I will be able to use one query for all the sequences but we will have one query for generation_key.