I tried and $container.id returns undefined.