Update RecordMacros.hx

Fix relation field generation with correct type between SId, SUId, SBigId
+ fix detection of SBigId as id field type