[ticket/12248] Restore id attributes to extension details (used by tests)

This should fix tests broken by this ticket

PHPBB3-12248