Made get_id use where
v1.0