Localization of nanoscale objects with light singularities