Its a spring clip, I'm guessing either the spring has lost its tension or one of the retaining tabs have broken off the lid. Doesn't look like its a separate part through, see below 24-27, I'm sure you can find a generic part to fit but you'll need to remove the old one first.