Fixes #197: bd doctor was hardcoded to look for beads.db and didn't check config.json for custom database names like beady.db. Now both checkDatabaseVersion() and checkIDFormat() check config.json first before falling back to the canonical database name.