allow an attribute to be defined as a primaryKey. closes #5