Make sample construction locked on name to prevent duplicates in import.