always read identifier from entity (if existing) and save in immutable