mod: allow to pass ID or instance to method