Ensure extent name is unique

Ticket:	#5211
(cherry picked from commit ebb2f67b2e628a4a168bf11914a7c88a60904927)