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

PHPBB3-12248