NXP-10793: change escape method behaviour to accept empty strings (but check for empty ids in layouts)