Accordion active by index since 1.10

Accordion active by index since 1.10

Hi,

Why activate an accordion by Id since v1.10 ? (i'am actually in 1.11)

this commande not working for example: (working in 1.9)
$( "#accordion" ).accordion( "option", "active", '#ui-id-2');

I want to activate an accordion before update but I can not know where it is placed. So I can activate it by ID.

Thanks for your help,