checks the format, presence of, and uniqueness of certain attributes