A comparative investigation of the role of anchoring group on perylene monoimide dyes in NiO based dye-sensitized solar cells.