when adding a firefox extension, check for the id in the attribute too

Fixes Issue #5978
freaking network, freaking python... when it spazzes out on you, defaults to localhost for the tests