Fix search id composer and add specs.