Add optional name attribute to entities

Entities can now carry an optional name attribute, and the YamlFile
class uses that to store the basename of the file, which eases debugging
tremendously.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2 files changed