adapters: adjusted resolveId to new interface