Added id() condition method to dbQuery
Minor fixes