withResolvedId