Implemented the `lastInsertId` method.