utils: Share a single helper function to get IE by ID