matching brackets
added Obj-C code for unique identity generation + singleton sample