Similar Items: Categorical composable cryptography: extended version