Creates a new layout segment in a hoops file with a specified name and makes it active.
Returns the hoops key value of the created layout segment.