Tweaks primary key behavior in SC.Record#normalize. Fixes bug where it would fail to identify RecordAttribute subclasses. Closes #1127.