Use Abstracted function for last insert ID