code: function( target ) {
  				var selector = target.nodeName.toLowerCase();
  				if(target.id){
  					return "#"+target.id
  				}else{
  					var parent = target.parentNode;
  					while(parent){
  						if(parent.id){
  							selector = "#"+parent.id+" "+selector;
  							break;
  						}else{
  							parent = parent.parentNode
  						}
  					}
  				}
  				if(target.className){
  					selector += "."+target.className.split(" ")[0]
  				}
  				var others = jQuery(selector, Syn.helpers.getWindow(target).document)
  				if(others.length > 1){
  					return selector+":eq("+others.index(target)+")";
  				}else{
  					return selector;
  				}
  				
  				
  			}
docs: returns a selector