NXP-10963: do not set id on layout when it's only resolved + fix the tag behaviour when only giving it a layout instance and a value