add name-detector to ispec / ospec, call with extra name arg if available