Fix determining identifier for context paths