Add unique tag to schema and generate functions for it and made policy name unique. Small change to autogenerated doc s/an/a/.