The ```indexOf``` is probably still necessary, given that not all feature IDs will necessarily have the same length (especially with the "%#id" we also added as part of this PR).