removing deprecated lookup/QueryIdent() code.