Helper to strip path and extension from model file to get only model identifier (i.e. the model file name without extension)
get_model_id(.mod)
# S3 method for class 'character'
get_model_id(.mod)
# S3 method for class 'bbi_model'
get_model_id(.mod)
Character scalar with only model identifier
get_model_id(character)
: Takes file path to model.
get_model_id(bbi_model)
: Takes bbi_{.model_type}_model
or bbi_{.model_type}_summary
object