Dynamically figure out minimum ID