Fix CRM_Core_DAO_AllCoreTables::getBriefName to accept BAO name