Similar Items: A formal specification framework for smart grid components