Add container id as a custom attribute