Would it also be possible, that the function returns null which means, the id is auto generated?