add index and validate uniqueness of spell#name