fixes missing attributes + validatesUniquenessOf()

fixes #13