Painless Script with name contain dot

Hi. Have you tried to access the field as suggested in Fields with a "dot" in them do not persist ?