Use the Name text field (shown below) to enter a new name for a selected entity. If multiple entities are selected, the field label changes to Base Name and you can enter a base name which will be appended by sequential numbering starting with the number one (1) on the second selected entity. You can view or change the layer number a selected entity or entities is assigned to using the Layer text field.

View, Attributes, Name and Layer
At the top of the Attributes panel you will find the Name and Layer text fields.