Get the real ID back when we create a record

We have to do this as the node ID and the real ID are different