check only that memberName is public when generating ids for embedded records