Use correct form of GENERATED attribute for ID fields.