Similar Items: A Categorical Approach to Syntactic Monoids