Authorities didn't write the slave codes. They banned them because people who weren't slaves couldn't understand them and it made revolt easier for slaves.
they most likley sacrificed them in order to give something of value to the gods before they used it themselves.
Generally speaking, the four main forms that nationalism can take in terms of a international connection would be "political, racial, cultural, and linguistic," but of course it can take other forms easily as well.