Added Base.unique? to see if a field is unique or not