Added lastInsertId wrapper for PDO