Added checks for attribute names and field precision.