How to display the entity ID next to the title of an ECK entity
$title is an available variable in that entity template. So, yes if you need to pass entity ID and UUID then you will have to pass them via preprocess hook.