added default threshold to feature-based ID retrieval