I have added constraints in a node such that the id is unique and uuid is added automatically but when I create a node, the id is returned null and when I again query for the node I can see the uuid this time. I assume it takes time for neo4j to create uuid and make sure it's unique but is there any way to get the id upon creation of the node?