check only that memberName is public when generating ids for embedded records
remove debugging code
Merge pull request #1 from tygriffin/master

check memberName is public when generating ids for embedded records