Adds shared_names= method to match tag_names= method
Moves item code from controller to model