make vocabulary_type use int primary key
refactor association type and views for iat