Path independent integrals to identify localized plastic events in two dimensions