The composite identifiers cannot use auto-generated properties. This needs to be documented as, otherwise, people will assume this behavior as illustrated by this StackOverflow question.