added name argument to pdo lastinsertid