private void readDatabaseId() throws IOException {
		try {
			databaseId = ((long) dbParms.get(DBParms.DATABASE_ID_HIGH_PARM) << 32) +
				(dbParms.get(DBParms.DATABASE_ID_LOW_PARM) & 0x0ffffffffL);
		}
		catch (IndexOutOfBoundsException e) {
			// DBParams is still at version 1
		}
	}
Read current databaseId
@throws IOException if IO error occurs
Ghidra/Framework/DB/src/main/java/db/DBHandle.java