Takes a filter that eventually contains a fid filter and builds a new filter that does not have
it, and relies on attributes instead. This assumes pk attributes are part of the feature type.
This cloning is necessary because public FID do not contain the revision attribute, that will be
handled by including new filters.
author: aaime since: 2.4