Added autoincrement notif id func.