avoid SolR id duplication, support for more sophisticated id patterns