[Fix] getData: minor fix to varname retrieval

Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
[Fix] makeMasterFile: fix the shifts in id for each block

Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
[Add] isstring

Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>