The attribution of intentionality: the role of skill and morality