samdb: Fix formatting, move get_oid_from_attid from Ldb to SamDB.