Made a string formatter utility for BaseViewModel.cs

Signed-off-by: Sam Armstrong <dr.sammyd@gmail.com>