Yeah this setting was moved inside the db (otherwise if you use multiple libraries, the ids can conflict).
Code:
from calibre.library import db; db = db(); import pprint; pprint.pprint(db.prefs)
will print out all the settings stored in the db, including the one you are interested in.