Plea to direct trial courts to refrain from mentioning caste, religion of witness closed