Added id_or_name to namedSelector.php and corrected indentation