Text this: Transfer function-based generalization of grid forming power synchronization loops